﻿
namespace EmployeeManager
{
    public partial class CreateNewDocument
    {
        partial void CreateNewDocument_BeforeDataInitialize()
        {
            // Write your code here.
            this.DocumentProperty = new Document();
        }

        partial void CreateNewDocument_Saved()
        {
            // Write your code here.
            this.Close(false);
            Application.Current.ShowDefaultScreen(this.DocumentProperty);
        }
    }
}